public class Rect
extends java.lang.Object
Constructor and Description |
---|
Rect() |
Rect(float x0,
float y0,
float x1,
float y1) |
Rect(Quad q) |
Rect(Rect r) |
Rect(RectI r) |
Modifier and Type | Method and Description |
---|---|
void |
adjustForStroke(StrokeState state,
Matrix ctm) |
boolean |
contains(float x,
float y) |
boolean |
contains(Point p) |
boolean |
contains(Rect r) |
boolean |
isEmpty() |
boolean |
isInfinite() |
boolean |
isValid() |
java.lang.String |
toString() |
Rect |
transform(Matrix tm) |
void |
union(Rect r) |
public Rect()
public Rect(float x0, float y0, float x1, float y1)
public Rect(Quad q)
public Rect(Rect r)
public Rect(RectI r)
public void adjustForStroke(StrokeState state, Matrix ctm)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isInfinite()
public boolean contains(float x, float y)
public boolean contains(Point p)
public boolean contains(Rect r)
public boolean isEmpty()
public boolean isValid()
public void union(Rect r)